package com.xiangxiao.rpan.storage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiangxiao.rpan.storage.entity.UserRoleInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName UserVo
 * @Auther admin
 * @Email 573768011@qq.com
 * @Date 2024/1/16 19:03
 */
@Data
public class UserVo implements Serializable {
  private static final long serialVersionUID = -3713100259694418523L;

  private Long id;

  private String name;

  private String account;

  private String password;

  private String organization;

  private Long orgId;

  private String imageUrl;

  @JsonFormat(
      pattern = "yyyy-MM-dd HH:mm:ss",
      timezone = "GMT+8"
  )
  private Date startTime;

  @JsonFormat(
      pattern = "yyyy-MM-dd HH:mm:ss",
      timezone = "GMT+8"
  )
  private Date endTime;

  private List<UserRoleInfo> roleList;

  private String phone;

  private String email;

  private String remark;

  private String creator;

  private Integer type;

  private Integer status;

  private Integer expired;

  private Long loginTimes;

  private Integer deletedFlg;

  private String creatorType;

  private Integer level;

}
